package com.hongyi.common.saToken.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 权限认证白名单配置类
 * <p>
 *     绑定外部配置文件（如application.properties或application.yml）中,所有以permission. 开头的配置项都会被绑定到这个类中对应的字段上
 * </p>
 *
 * @author DingHao
 */
@Data
@Component
@ConfigurationProperties(prefix="permission")
public class PermissionProperties {

    private String[] excludes;

}
